package com.nengchuan.eic.nceconomy.service;

import com.eic.review.sdk.vo.IndividualProjectInfoVo;
import com.eic.review.sdk.vo.ProjectInfoVo;
import com.github.pagehelper.PageInfo;
import com.nengchuan.eic.nceconomy.entity.dto.ExcelDetailDTO;
import com.nengchuan.eic.nceconomy.entity.dto.ProjectDTO;
import com.nengchuan.eic.nceconomy.entity.vo.IndividualProjectInfoVO;
import com.nengchuan.eic.nceconomy.entity.vo.ProjectVO;
import com.nengchuan.model.model.WrappedResult;

import java.util.List;

/**
 * 功能描述:
 *
 * @Author: liurui
 * @Date: 2020/4/26 0026 上午 10:53
 */

public interface ProjectService {

    /**
     * 查询输变电工程子工程
     * @param projectId 输变电工程id
     * @return 子项目list
     */
    WrappedResult<List<IndividualProjectInfoVO>> getDetailList(Long projectId);

    /**
     * 分页查询
     * @param projectDTO
     * @return
     */
    ProjectVO getList(ProjectDTO projectDTO);
    /**
     * 根据项目查询本库的工程类型
     * @param projectId
     * @return
     */
    String getProjectType(Long projectId,Long pid,String categoryIndex);
}
